<!--
/**************************************************/
/* Programmer: Dimas Widjaya                      */
/*       Date: 2/2/2013                           */
/*  Page Name: FirstPage.html                     */
/*                                                */
/**************************************************/

/**************************************************/
/*  The site index, provides login system.        */
/*                                                */
/**************************************************/

/**************************************************/
/*   Date        Reviser       Revision           */
/* --------     ---------     ----------          */
/* 2/5/13       S. Gilder     Integrated Login    */
/* 2/11/13		D. Widjaya	  Added warning 	  */ 
/*							  message for relogin */
/*							  request			  */
/*                                                */
/**************************************************/
-->

<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<!-- <link rel="stylesheet" href="css/orbit-1.2.3.css"> -->
		<link rel="stylesheet" type="text/css" href="css/FirstPage.css">
		<script type="text/javascript" src="JQuery/jquery-1.9.0.min.js"></script>  
		<script type="text/javascript" src="JS/FirstPage.js"></script>  
		<!--<script src="JQuery/jquery.orbit-1.2.3.js" type="text/javascript"></script> -->
		<script>
		    function blink() {
		        var f = document.getElementById('msg_area');
	    	    setInterval(function() {
			    f.style.display = (f.style.display == 'none' ? '' : 'none');
			    }, 500);
		    }
		</script>
		
		<title>RedPen Testing Center</title>
	</head>
	<body onload="blink();">
		<div id="main">
			
			<div id="TopBoard">
				<img src="images/redpen-01.png" alt="RedPenLogo" id="RedPenLogo"/>
				<form id="LoginForm" action="login.php" method="post">
					<span id="UserNameLabel" class="LoginLabel">User Name</span><input type="text" name="UserName" id="UserName" class="LoginInput" />
					<span id="PasswordLabel" class="LoginLabel">Password</span><input type="password" name="Password" id="Password" class="LoginInput" />

					<span id="LoginButtons"><input type="submit" class="submit-bkgrd" value="" id="loginButton" /> </span>

					<span id="RememberMe"><input type="checkbox" id="RememberMeChBx" name="RememberMeChBx" />Remember me</span>
					<span id="SignUp">New user? <a href="registration.php">Register</a></span>
				<br />
				<span id="Err" class="ErrMsg" >
		        <?php 
			        if(isset($_GET['field']))
			        {
				        if($_GET['field'] == 'invEml')
				            echo 'Error. Please check the entered user name and try again.';
						else if($_GET['field'] == 'LoginFirst')
							echo 'Please login first';
				        else
						    echo 'Error. Please check the entered password and try again.';
			        }
                ?>
				</span>
				</form>
			</div>
			<div id="HeaderBar"></div>
			
			<div id="Content">	
				<!--
				<div id="SlideShow"> 
					<img src="images/thumbnails/1.jpg" />
					<img src="images/thumbnails/2.jpg" />
					<img src="images/thumbnails/3.jpg" />
				</div>
				-->
				<div id="tagline">
				    <span id="msg_area">
                       Coming Soon. <!-- Just blink this and increase rate -->
					</span>
					<br/>
					<img src="images/redpen-01.png" alt="RedPenLogo" id="RedPenLogo2"/>
				</div>			
			</div>
			
			<div id="footer">
				<div id="HeaderBar"></div>
				<br/>
				<span id="Copyright">
					&#169; Team Flash 2013
					<br/>Pensacola Christian College
				</span>
				<br/>
			</footer>
		</div>
	</body>			
</html>